package com.sugar.psych.assessment.module.business.controller.admin.userleavemessage.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sugar.psych.assessment.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.sugar.psych.assessment.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户留言分页 Request VO")
@Data
public class UserLeaveMessagePageReqVO extends PageParam {

    @Schema(description = "用户手机号", example = "8508")
    private String mobile;

    @Schema(description = "匿名名称", example = "赵六")
    private String anonymityName;

    @Schema(description = "匿名头像")
    private String anonymityAvatar;

    @Schema(description = "留言内容")
    private String content;

    @Schema(description = "有效时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] validTime;

    @Schema(description = "状态（0正常 1禁用）", example = "1")
    private Boolean status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}